﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrHotelBooking.ascx.cs" Inherits="Controls_Hotel_ctrHotelBooking" %>
<%@ Register src="ctrHotelNavigation.ascx" tagname="ctrHotelNavigation" tagprefix="uc1" %>
<%@ Register src="../../Common/Alert.ascx" tagname="Alert" tagprefix="uc1" %>
<div>
<uc1:ctrHotelNavigation ID="ctrHotelNavigation1" runat="server" />

</div>
<div style ="padding:10px 10px 40px 10px; border: 1px solid #E8E8E8; margin-top:15px;">
<div style ="font-size:15px; font-weight:bold ; color:Blue">
<uc1:Alert ID="Alert1" runat="server" />
    
</div>
<div style ="padding-left:10px;text-transform:uppercase;"><h2><asp:Label ID="lblBooking" runat="server" ></asp:Label></h2></div>
<div style ="padding:10px">
    <div style="padding-bottom: 10px; vertical-align: text-top">
        <asp:Label ID="lblFullName" runat="server" Width="130px"></asp:Label>
        
        <asp:TextBox ID="txtFullName" runat="server" Width="300px" CssClass="text"  MaxLength="240" ValidationGroup="Input"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>&nbsp;&nbsp;&nbsp;
            <asp:Label ID="lblTitle" runat="server" Width="80px"></asp:Label>
            <asp:DropDownList ID="ddlTitle" Width="60px" runat="server"></asp:DropDownList>
    </div>
    <div style="padding-bottom: 10px; vertical-align: text-top">
        <asp:Label ID="lblCountry" runat="server" Width="130px"></asp:Label>
        <asp:DropDownList ID="ddlCountry" Width="141px" runat="server" Height="19px"></asp:DropDownList>
    </div>
    <div style="padding-bottom: 10px; vertical-align: text-top">
        <asp:Label ID="lblEmail" runat="server" Width="130px"></asp:Label>
        <asp:TextBox ID="txtEmail" runat="server" Width="300px" ValidationGroup="Input"  MaxLength="240"
            CssClass="text"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>&nbsp;&nbsp;&nbsp;
    </div>
    <div style="padding-bottom: 10px; vertical-align: text-top">
    <asp:Label ID="lblPhone" runat="server" Width="130px"></asp:Label>
        <asp:TextBox ID="txtPhone" runat="server" Width="300px"   ValidationGroup="Input"  MaxLength="240"
            CssClass="text"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>&nbsp;&nbsp;&nbsp;
    </div>
    <br />
    <div style="padding-bottom: 10px; vertical-align: text-top">
        <asp:Label ID="lblHotel" runat="server" Width="130px"></asp:Label>
        <asp:Label ID="lblValHoltel" runat="server" Width="300px"></asp:Label>
    </div>
    <div style="padding-bottom: 10px; vertical-align: text-top">
        <asp:Label ID="lblRoomClass" runat="server" Width="130px"></asp:Label>
        <asp:DropDownList ID="ddlRoomClass" Width="139px" runat="server" Height="19px"></asp:DropDownList>
    </div>
    <div style="padding-bottom: 10px; vertical-align: text-top">
        <asp:Label ID="lblNumberOfRoom" runat="server" Width="130px"></asp:Label>
        <asp:TextBox ID="txtNumberOfRoom" runat="server" Width="300px"  MaxLength="240" CssClass="text"></asp:TextBox>
    </div>
    <div style="padding-bottom: 10px; vertical-align: text-top">
        <asp:Label ID="lblNumberOfExtraBed" runat="server" Width="130px"></asp:Label>
        <asp:TextBox ID="txtNumberOfExtraBed" runat="server" Width="300px"   MaxLength="240"
            CssClass="text"></asp:TextBox>
    </div>
    <div style="padding-bottom: 10px; vertical-align: text-top">
        <asp:Label ID="lblCheckIn" runat="server" Width="130px"></asp:Label>
         <asp:DropDownList ID="ddlCheckIn2" Width="100px" runat="server">
                <asp:ListItem Value="1">January</asp:ListItem>
                <asp:ListItem Value="2">February</asp:ListItem>
                <asp:ListItem Value="3">March</asp:ListItem>
                <asp:ListItem Value="4">April</asp:ListItem>
                <asp:ListItem Value="5">May</asp:ListItem>
                <asp:ListItem Value="6">June</asp:ListItem>
                <asp:ListItem Value="7">July</asp:ListItem>
                <asp:ListItem Value="8">August</asp:ListItem>
                <asp:ListItem Value="9">September</asp:ListItem>
                <asp:ListItem Value="10">October</asp:ListItem>
                <asp:ListItem Value="11">November</asp:ListItem>
                <asp:ListItem Value="12">December</asp:ListItem>
            
            </asp:DropDownList>
        <asp:DropDownList ID="ddlCheckIn1" Width="40px" runat="server"></asp:DropDownList>
     
        <asp:DropDownList ID="ddlCheckIn3" Width="60px" runat="server"></asp:DropDownList>
    </div>
    <div style="padding-bottom: 10px; vertical-align: text-top">
        <asp:Label ID="lblCheckOut" runat="server" Width="130px"></asp:Label>
         <asp:DropDownList ID="ddlCheckOut2" Width="100px" runat="server">
                <asp:ListItem Value="1">January</asp:ListItem>
                <asp:ListItem Value="2">February</asp:ListItem>
                <asp:ListItem Value="3">March</asp:ListItem>
                <asp:ListItem Value="4">April</asp:ListItem>
                <asp:ListItem Value="5">May</asp:ListItem>
                <asp:ListItem Value="6">June</asp:ListItem>
                <asp:ListItem Value="7">July</asp:ListItem>
                <asp:ListItem Value="8">August</asp:ListItem>
                <asp:ListItem Value="9">September</asp:ListItem>
                <asp:ListItem Value="10">October</asp:ListItem>
                <asp:ListItem Value="11">November</asp:ListItem>
                <asp:ListItem Value="12">December</asp:ListItem>
            
            </asp:DropDownList>
        <asp:DropDownList ID="ddlCheckOut1" Width="40px" runat="server"></asp:DropDownList>
       
        <asp:DropDownList ID="ddlCheckOut3" Width="60px" runat="server"></asp:DropDownList>
    </div>
    
<div style="padding-bottom: 10px; ">
        <asp:Label runat="server" ID="lblPayment" CssClass="text" Width="130px" 
            Height="19px"></asp:Label>
        <asp:DropDownList ID="ddlPayment" Width="139px" runat="server"></asp:DropDownList>
</div>

    <div style="padding-bottom: 10px; vertical-align: text-top">
         <asp:Label runat="server" ID="lblOtherRequest" Width="130px"></asp:Label>     
        <asp:TextBox ID="txtOtherRequest" runat="server" Width="450px"  Height ="100px"
            TextMode="MultiLine"></asp:TextBox>
    </div>

    <div style ="padding-left:135px">
       
        <asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/Layout/submitform-input-button-bg.png" OnClick="btnSave_Click" ValidationGroup="Input" />
    </div>

    <asp:RegularExpressionValidator ID="revNumberOfExtraBed" runat="server" ControlToValidate="txtNumberOfExtraBed"
    Display="None" ValidationGroup="Input" Text="*" ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>
    <asp:RegularExpressionValidator ID="revNumberOfRoom" runat="server" ControlToValidate="txtNumberOfRoom"
    Display="None" ValidationGroup="Input" Text="*" ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>

    <asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server"
        ValidationGroup="Input" ShowSummary="False" />
    <asp:RequiredFieldValidator ID="rfvContactFullname" runat="server" SetFocusOnError="true"
        ControlToValidate="txtFullName" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="rfvContactEmail" runat="server" SetFocusOnError="true"
        ControlToValidate="txtEmail" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="rfvContactPhone" runat="server" SetFocusOnError="true"
        ControlToValidate="txtPhone" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="revEmail" runat="server" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
        ControlToValidate="txtEmail" Display="None" ValidationGroup="Input" SetFocusOnError="True" Text="*">
    </asp:RegularExpressionValidator>
</div>
</div>